package cn.lls.req.emp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;


/**
 * <p>
 *
 * </p>
 *
 * @author 划水艺术家
 * @since 2022-11-15
 */
@Data
@ApiModel("员工账号请求类")
public class EMPAccountReq implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工账号
     */
    private Long userId;


    private String account;

    /**
     * 员工密码(md5编码，因此固定为32位，默认为手机号)
     */
    @ApiModelProperty("员工账号密码")
    @NotEmpty(message = "密码不能为空")
    private String loginPassword;

}
